package main

import (
	"fmt"
	"gitee.com/konica/udptest"
	"os"
)

var (
	serverAddr string
)

func init() {
	if len(os.Args) <= 1 {
		fmt.Println("server addr is missing, using 127.0.0.1:10086")
		serverAddr = "127.0.0.1:10086"
	}
}

func main() {
	udptest.NewClient("0.0.0.0:0", serverAddr)
}
